#include <QtGui/QApplication>
#include "customSplashScreen.h"
#include <QBitmap>
#include "dialog.h"


//_________________________________________________________________________
int main(int argc, char *argv[])
{
    QApplication a(argc, argv);

    QPixmap pixmap(":/images/resources/splash1.png");
    QImage maskImage(":/images/resources/splash1_mask.bmp");

    CSplashScreen* aSplashScreen = new CSplashScreen(pixmap);
    aSplashScreen->show();

    aSplashScreen->showMessage(QString("Searching For Devices..."), Qt::AlignBottom | Qt::AlignHCenter, Qt::white);

    Dialog w(aSplashScreen);
    w.show();
    delete aSplashScreen;
    return a.exec();
}
